<?php
include_once 'HeaderController.php';
include_once 'JScontroller.php';
echo $this->doctype() . "\n" 
?>
<html class="no-js" lang="pt-br">
<head>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
	<meta name="viewport" content="width=1020" />

	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache" />

	<meta name="robots" content="index, follow" />
	<meta name="robot" content="All" />
	<meta name="language" content="pt-br" />
	<meta name="author" content="Mateus Martins | mateusweb@gmail.com" />
	<meta name="MSSmartTagsPreventParsing" content="true" />
	<meta name="rating" content="general" />
	<meta name="distribuition" content="global" />
	
	<meta name="title" content="Lemon" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />

	<link rel="icon" type="image/x-icon" href="<?php echo __ROOT__ ?>public/admin/images/favicon.ico" />

	<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

	<link href="<?php echo __ROOT__ ?>public/site/css/reset.css" media="screen" rel="stylesheet" type="text/css" />
	<link href="<?php echo __ROOT__ ?>public/site/css/fonts.css" media="screen" rel="stylesheet" type="text/css" />
	<link href="<?php echo __ROOT__ ?>public/site/css/style.css" media="screen" rel="stylesheet" type="text/css" />
	
	<script src="<?php echo __ROOT__ ?>public/site/js/jquery-min.js" type="text/javascript"></script>
	<script src="<?php echo __ROOT__ ?>public/site/js/jquery.maskedinput-1.3.min.js" type="text/javascript"></script>
	<script src="<?php echo __ROOT__ ?>public/site/js/site.js" type="text/javascript"></script>
	
	<?php echo HeaderController::load() ?>
	
	<title>Lemon</title>
</head>
<body>
	
	<header id="header">
		<div class="wrapper">
			<h1><a href="<?php echo __LINKS__ ?>">Lemon</a></h1>
			<nav class="nav">
				<ul class="menu">
					<li class="li01"><a href="<?php echo __LINKS__ ?>produtos/camisetas">Camisetas</a></li>
					<li class="li02"><a href="<?php echo __LINKS__ ?>produtos/bolsas">Bolsas</a></li>
					<li class="li03"><a href="<?php echo __LINKS__ ?>produtos/sapatos">Sapatos</a></li>
					<li class="li04"><a href="<?php echo __LINKS__ ?>produtos/acessorios">Acessórios</a></li>
					<li class="li05"><a href="<?php echo __LINKS__ ?>produtos/promocao">Promoção</a></li>
					<li class="li06"><a href="#">Presenteie</a></li>
					<li class="li07"><a href="#">Blog</a></li>
					<li class="li08"><a href="#">Personalizar</a></li>
				</ul>
			</nav>
			<nav class="navUserArea">
				<ul class="buttons">
					<li class="cadastrese museo100"><a href="<?php echo __LINKS__ ?>cadastro/new-user/login">Login</a></li>
					<li class="cadastrese museo100"><a href="<?php echo __LINKS__ ?>cadastro/new-user">Cadastre-se</a></li>
					<li class="carrinho showCart museo100"><a href="<?php echo __LINKS__?>carrinho">Carrinho (<?php 
					
						$tot = Site_Model_ShoppingCart::get_instance();
						echo $tot->getTotalItens();
					
					?>)</a></li>
					<li class="nome-user">
					<?php 
						$login = new Site_Model_Signup();
						$usr = $login->getRegisterUser();
						echo ( isset( $usr->name ) ) ?
						 '<a href="'.__LINKS__.'cadastro/new-user">Olá '.$usr->name.'</a>' : '';
					?>
					</li>
					<li class="tools-user">
					<?php 
						echo ( isset( $usr->name ) ) ?
						 '<a href="'.__LINKS__.'cadastro/new-user">Alterar Dados</a> <a href="'.__LINKS__.'cadastro/logout">Sair</a>' : '';
					?>
					</li>
				</ul>
				
				<span id="ajaxCart"></span>
				
			</nav>
		</div>
		<?php echo $this->sidebar( isset($this->sidebar) ? $this->sidebar : null )?>
	</header>
	
	<section id="section">
		<?php echo $this->layout()->content  . "\n" ?>
	</section>

	<footer id="footer">
		<section class="components">
			<div class="fbLike">
<!--				<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Flolhehehe&amp;send=false&amp;layout=standard&amp;width=300&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=lucida+grande&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:80px;" allowTransparency="true"></iframe>-->
				<iframe src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']) ?>&amp;send=false&amp;layout=standard&amp;width=300&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=lucida+grande&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:80px;" allowTransparency="true"></iframe>
			</div>
			<div class="twFollow">
				<div class="boxTwitterButton">
					<a href="https://twitter.com/lemonbrazil" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @lemonbrazil</a>
				</div>
				<strong class="museo">@lemonbrazil</strong>
			</div>
			<div class="newsLetter">
				<h3 class="museo">News Letter</h3>
				<form method="post" action="/index/save-news-letter/" class="formNewsLetter">
					<fieldset>
						<label class="email"><input type="text" size="10" name="email" value=""></label>
						<input class="sendNews museo" type="submit" value="ok">
		            </fieldset>
				</form>
				<p>Deixe seu e-mail e acompanhe nossas <br />novidades promções.</p>
			</div>
		</section>
		<section class="legenda marie">
			<ul>
				<li class="leg1">lançamentos</li>
				<li class="leg2">promoções</li>
				<li class="leg3">catálogo</li>
				<li class="leg4">promoção da hora</li>
				<li class="leg5">mais vendidos</li>
			</ul>
		</section>
		<section class="reference">
			<article class="ref-wrapper">
				<p><a href="#">Termos de uso</a> - <a href="#">Politica</a></p>
				<p>Todos os direitos reservados</p>
				<p>Versão 1,0 de 04/07/2011 - Release 32 de 20 - 05 - 2011 11:40 - Copyright 2011Lemon Brasil. </p>
			</article>
		</section>
		<section class="links">
			<article class="ref-wrapper marie">
				<ul>
					<li><a href="#">produtos</a></li>
					<li><a href="#">camisetas</a></li>
					<li><a href="#">sapatos</a></li>
					<li><a href="#">bolsas</a></li>
					<li><a href="#">acessórios</a></li>
					<li><a href="#">promoções</a></li>
					<li><a href="#">novidades</a></li>
				</ul>
				
				<ul>
					<li><a href="#">Site</a></li>
					<li><a href="#">Cupom presente</a></li>
					<li><a href="#">acompanhe seu pedido</a></li>
					<li><a href="#">fale conosco</a></li>
					<li><a href="#">sobre a lemon brasil</a></li>
					<li><a href="#">seja um vendedor</a></li>
					<li><a href="#">sala de imprensa</a></li>
					<li><a href="#">termos de uso</a></li>
					<li><a href="#">cadastre-se</a></li>
				</ul>
				
				<ul>
					<li><a href="#">Acompanhe</a></li>
					<li><a href="#">twitter</a></li>
					<li><a href="#">facebook</a></li>
				</ul>
			</article>
		</section>
	
	</footer>
	
</body>
</html>